<template>
	<div class="geshou">
		<header>
			<van-nav-bar
			  title="最近播放"
			  left-arrow
			  @click-left="onClickLeft"
			  style="background: #f7f7f7;"
			></van-nav-bar>
		</header>
		<section>
			<van-tabs v-model="active">
			  <van-tab title="歌曲">
			  	<van-nav-bar
			  		icon="play-circle-o"
				  left-text="播放全部"
				  right-text="多选"
				  @click-left=""
				  @click-right="onClickRight"
				/>
				<div class="singer_list">
				<ul>
					<router-link to="#" tag="li">
						<img src="../../build/logo.png" width="53" height="53"/>
						<span>
							<p>周杰伦</p>
							<p style="color: #A8A8A8;font-size:12px;">粉丝：60万</p>
						</span>
						<div class="recently_a">
							<router-link to="#" tag="em" style="padding: 0 10px;">
								<van-icon name="play-circle-o" />播放
							</router-link>
							<router-link to="#" tag="em" >
								<van-icon name="ellipsis" />
							</router-link>
						</div>
					</router-link>
				</ul>
			</div>
			  </van-tab>
			  <van-tab title="歌手">
			  	内容 2
			  </van-tab>
			  <van-tab title="电台">
			  	内容 3
			  </van-tab>
			  <van-tab title="MV">
			  	内容 4
			  </van-tab>
			</van-tabs>
		</section>
	</div>
</template>

<script>
	import {Tab, Tabs,NavBar,Icon} from "vant"
	export default{
		name:'Recently',
		components:{
			[Tab.name]:Tab,
			[Tabs.name]:Tabs,
			[NavBar.name]:NavBar,
			[Icon.name]:Icon
		},
		data(){
			return{
				
			}
		},
		methods:{
			onClickLeft(){
				this.$router.go(-1)
			}
		}
	}
</script>

<style>
	.singer_list ul li{
	display: flex;
	position: relative;
	margin: 12px 0;
}
.singer_list ul li>img{
	border-radius: 50%;
	margin-right: 11px;
}
.singer_list li>span>p{
	margin: 5px 0;
	font-size: 14px;
}
.singer_list li>span>em{
	position: absolute;
	right: 5px;
	top: 0;
	font-size: 30px;
	font-style: normal;
	color: #a8a8a8;
}
.recently_a{
	margin-left: 126px;
}
.recently_a>em{
	font-style: normal;
	font-size: 20px;
}
</style>